<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="AxdEnum_XMLDocPurpose">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose:Purpose</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Original" />
      <xs:enumeration value="Duplicate" />
      <xs:enumeration value="Proforma" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_dataAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:ID for an area of data</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AxdEntityAction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">AxdEntityAction:AxdEntityAction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="create" />
      <xs:enumeration value="update" />
      <xs:enumeration value="replace" />
      <xs:enumeration value="delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ActionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Action:Action</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Advance" />
      <xs:enumeration value="Postpone" />
      <xs:enumeration value="Appreciate" />
      <xs:enumeration value="Depreciate" />
      <xs:enumeration value="AdvanceAppreciate" />
      <xs:enumeration value="AdvanceDepreciate" />
      <xs:enumeration value="PostponeAppreciate" />
      <xs:enumeration value="PostponeDepreciate" />
      <xs:enumeration value="Cancel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Integer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Integer">
    <xs:restriction base="xs:int">
      <xs:minInclusive value="-2147483648" />
      <xs:maxInclusive value="2147483647" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdType_ExtCodeValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Actual value of the related record according to the selected external code type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdType_Str_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdType_Str tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Str">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Animal_String:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="64" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_relationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Relation type field:Immediate derived table in table inheritance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Int64">
    <xs:restriction base="xs:long">
      <xs:minInclusive value="-9223372036854775808" />
      <xs:maxInclusive value="9223372036854775807" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_recId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record-ID:Unique ID for the record in the database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_recVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record Version:Version of the record in the database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:complexType name="AxdType_DateTime">
    <xs:simpleContent>
      <xs:extension base="xs:dateTime">
        <xs:attribute name="localDateTime" type="xs:dateTime" />
        <xs:attribute name="timezone" type="tns:AxdEnum_Timezone" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_Timezone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="GMTMINUS1200INTERNATIONALDATELINEWEST" />
      <xs:enumeration value="GMTMINUS1100MIDWAYISLAND_SAMOA" />
      <xs:enumeration value="GMTMINUS1000HAWAII" />
      <xs:enumeration value="GMTMINUS0900ALASKA" />
      <xs:enumeration value="GMTMINUS0800PACIFICTIME" />
      <xs:enumeration value="GMTMINUS0800TIJUANA_BAJACALIFORNIA" />
      <xs:enumeration value="GMTMINUS0700ARIZONA" />
      <xs:enumeration value="GMTMINUS0700MOUNTAINTIME" />
      <xs:enumeration value="GMTMINUS0700CHIHUAHUA_LAPAZ_MAZATLAN" />
      <xs:enumeration value="GMTMINUS0600CENTRALAMERICA" />
      <xs:enumeration value="GMTMINUS0600CENTRALTIME" />
      <xs:enumeration value="GMTMINUS0600GUADALAJARA_MEXICOCITY" />
      <xs:enumeration value="GMTMINUS0600SASKATCHEWAN" />
      <xs:enumeration value="GMTMINUS0500BOGOTA_LIMA_QUITO_RIOBRANCO" />
      <xs:enumeration value="GMTMINUS0500EASTERNTIME" />
      <xs:enumeration value="GMTMINUS0500INDIANA" />
      <xs:enumeration value="GMTMINUS0400ATLANTICTIME" />
      <xs:enumeration value="GMTMINUS0400LAPAZ" />
      <xs:enumeration value="GMTMINUS0400MANAUS" />
      <xs:enumeration value="GMTMINUS0400SANTIAGO" />
      <xs:enumeration value="GMTMINUS0430CARACAS" />
      <xs:enumeration value="GMTMINUS0330NEWFOUNDLAND" />
      <xs:enumeration value="GMTMINUS0300BRASILIA" />
      <xs:enumeration value="GMTMINUS0300BUENOSAIRES_GEORGETOWN" />
      <xs:enumeration value="GMTMINUS0300GREENLAND" />
      <xs:enumeration value="GMTMINUS0300MONTEVIDEO" />
      <xs:enumeration value="GMTMINUS0200MIDATLANTIC" />
      <xs:enumeration value="GMTMINUS0100AZORES" />
      <xs:enumeration value="GMTMINUS0100CAPEVERDIS" />
      <xs:enumeration value="GMT_CASABLANCA_MONTROVIA_REYKJAVIK" />
      <xs:enumeration value="GMT_DUBLIN_EDINBURGH_LISBON_LONDON" />
      <xs:enumeration value="GMTPLUS0100_AMSTERDAM_BERLIN_BERN_ROME" />
      <xs:enumeration value="GMTPLUS0100BELGRADE_BRATISLAVA_BUDAPEST" />
      <xs:enumeration value="GMTPLUS0100BRUSSELS_COPENHAGEN_MADRID" />
      <xs:enumeration value="GMTPLUS0100SARAJEVO_SKOPJE_WARSAW_ZAGREB" />
      <xs:enumeration value="GMTPLUS0100WESTCENTRALAFRICA" />
      <xs:enumeration value="GMTPLUS0200AMMAN" />
      <xs:enumeration value="GMTPLUS0200ATHENS_BUCHAREST_ISTANBUL" />
      <xs:enumeration value="GMTPLUS0200BEIRUT" />
      <xs:enumeration value="GMTPLUS0200MINSK" />
      <xs:enumeration value="GMTPLUS0200CAIRO" />
      <xs:enumeration value="GMTPLUS0200HARARE_PRETORIA" />
      <xs:enumeration value="GMTPLUS0200HELSINKI_KYIV_RIGA_VILNIUS" />
      <xs:enumeration value="GMTPLUS0200JERUSALEM" />
      <xs:enumeration value="GMTPLUS0200WINDHOEK" />
      <xs:enumeration value="GMTPLUS0300BAGHDAD" />
      <xs:enumeration value="GMTPLUS0300KUWAIT_RIYADH" />
      <xs:enumeration value="GMTPLUS0300MOSCOW_STPETERSBURG_VOLGOGRAD" />
      <xs:enumeration value="GMTPLUS0300NAIROBI" />
      <xs:enumeration value="GMTPLUS0300TBILISI" />
      <xs:enumeration value="GMTPLUS0330TEHRAN" />
      <xs:enumeration value="GMTPLUS0400ABUDHABI_MUSCAT" />
      <xs:enumeration value="GMTPLUS0400BAKU" />
      <xs:enumeration value="GMTPLUS0400CAUCASUSSTANDARDTIME" />
      <xs:enumeration value="GMTPLUS0400YEREVAN" />
      <xs:enumeration value="GMTPLUS0430KABUL" />
      <xs:enumeration value="GMTPLUS0500EKATERINBURG" />
      <xs:enumeration value="GMTPLUS0500ISLAMABAD_KARACHI_TASHKENT" />
      <xs:enumeration value="GMTPLUS0530CHENNAI_KOLKATA_MUMBAI" />
      <xs:enumeration value="GMTPLUS0530SRIJAYAWARDENEPURA" />
      <xs:enumeration value="GMTPLUS0545KATHMANDU" />
      <xs:enumeration value="GMTPLUS0600ALMATY_NOVOSIBIRSK" />
      <xs:enumeration value="GMTPLUS0600ASTANA_DHAKA" />
      <xs:enumeration value="GMTPLUS0630_YANGON" />
      <xs:enumeration value="GMTPLUS0700_BANGKOK_HANOI_JAKARTA" />
      <xs:enumeration value="GMTPLUS0700KRASNOYARSK" />
      <xs:enumeration value="GMTPLUS0800BEIJING_CHONGQING_HONGKONG" />
      <xs:enumeration value="GMTPLUS0800IRKUTSK_ULAANBATAAR" />
      <xs:enumeration value="GMTPLUS0800KUALALUMPUR_SINGAPORE" />
      <xs:enumeration value="GMTPLUS0800PERTH" />
      <xs:enumeration value="GMTPLUS0800TAIPEI" />
      <xs:enumeration value="GMTPLUS0900OSAKA_SAPPORO_TOKYO" />
      <xs:enumeration value="GMTPLUS0900SEOUL" />
      <xs:enumeration value="GMTPLUS0900YAKUTSK" />
      <xs:enumeration value="GMTPLUS0930ADELAIDE" />
      <xs:enumeration value="GMTPLUS0930DARWIN" />
      <xs:enumeration value="GMTPLUS1000BRISBANE" />
      <xs:enumeration value="GMTPLUS1000CANBERRA_MELBOURNE_SYDNEY" />
      <xs:enumeration value="GMTPLUS1000GUAM_PORTMORESBY" />
      <xs:enumeration value="GMTPLUS1000HOBART" />
      <xs:enumeration value="GMTPLUS1000VLADIVOSTOK" />
      <xs:enumeration value="GMTPLUS1100MAGADAN_SOLOMONIS" />
      <xs:enumeration value="GMTPLUS1200AUCKLAND_WELLINGTON" />
      <xs:enumeration value="GMTPLUS1200FIJI_KAMCHATKA_MARSHALLIS" />
      <xs:enumeration value="GMTPLUS1300NUKU_ALOFA" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AxdValidTimeStateType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AsOf" />
      <xs:enumeration value="Range" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustAccountStatement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account statement:Account statement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Always" />
      <xs:enumeration value="Quarter" />
      <xs:enumeration value="Biannually" />
      <xs:enumeration value="Yearly" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBankAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account:Identification of customer's bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCentralBankPurposeCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Central bank purpose code:Code used when reporting to the central bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCentralBankPurposeText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose text:Describe code used when reporting to the central bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="140" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoicing and delivery on hold:View whether invoicing or deliveries have been placed on hold for the selected record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="All" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Requisition" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCashDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Cash discount code for subsequent approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustClearingPeriod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settle period:Terms of payment for period from due date to payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissCustomerGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commission customer group:Identification of the commission customer group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmChainId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Chain:Chain which the company is a member of</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyIdSiret">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">French Siret:Siret number of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="14" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CompanyType_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company type:Company type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="LegalEntity" />
      <xs:enumeration value="LegalPerson" />
      <xs:enumeration value="ForeignCompany" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ContactPersonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contact ID:The contact identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardAddressVerification">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address verification:Address verification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardAddressVerificationLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address verification status required to accept transactions:Address verification status required to accept transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Accept" />
      <xs:enumeration value="AccountHolderName" />
      <xs:enumeration value="BillingPostalCode" />
      <xs:enumeration value="BillingAddress" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardAddressVerificationVoid">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Void transaction when no results are available:If selected, the transaction is voided when no address verification results are available</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardCVC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prompt for card verification value:Prompt for card verification value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCreditMaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit limit:The customer's credit limit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdType_Decimal">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCreditRating">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit rating:The customer's credit rating</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Curp_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CURP number:CURP - Federal Tax Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Current currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustClassificationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer classification group:Specify customer classification groups.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExcludeCollectionFee">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exclude collection fees:If selected, collection fees will not be calculated for this customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExcludeInterestCharges">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exclude interest charges:If selected, interest charges will not be calculated for this customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer group:Group of customers.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item - customer group:Customer group for external item descriptions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension:Default dimensions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDestinationCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Destination code:The customer's destination code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustDlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustDlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:Unique identification of delivery mode</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvReasonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery reason:Unique identification of delivery reasons</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustDlvTermId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustDlvTermId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Unique identification of delivery terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EinvoiceEANNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EAN:EAN number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEndDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount group:Specifies total order discount group of customer/order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxEnterpriseNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Enterprise number:Enterprise number used to identify Belgian companies.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCustFactoringAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factoring account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal code:The fiscal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="16" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForecastDMPInclude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Demand planning:Include in demand planning.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFreightZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UPS zone:The UPS zone for the customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on sales invoice:Print associated payment attachment for sales invoice?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubAccountStatementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on account statement:Print associated payment attachment for the account statement?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubCollectionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on collection letter:Print associated payment attachment for the collection letter?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubInterestId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on interest note:Print associated payment attachment for interest note?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on the project invoice:Print associated payment attachment for project invoice and project on account invoice?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustIdentificationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ID number:An identifying number. For Person, number is driver's license or other government-issued ID number. For Organization, number is employer identification number or other unique ID number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InclTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prices include sales tax:Do prices include sales tax?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyAllowIndirectCreation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allow indirect creation:Allow indirect order line creation when the original sales order is a direct delivery.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyAutoCreateOrders">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autocreate intercompany orders:Autocreate intercompany orders when you leave the sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyDirectDelivery">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct delivery:Deliver directly to the customer and synchronize the delivery information to the intercompany orders.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSiteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Site:Identify the site</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustInvoiceAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustInvoiceAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice address:The account that contains the address assigned to receive posted invoices</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InvoiceAccount" />
      <xs:enumeration value="OrderAccount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount group:Unique identification of line discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLineOfBusinessId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line of business:The line of business in which the vendor operates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmPersonnelNumberId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Personnel number:The personnel number for the worker</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelAccResponsibleWorker">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main contact:The employee responsible for the vendor information</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MandatoryCreditLimit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mandatory credit limit:Indicate error when exceeding credit limit?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges group:Misc. charges group that the customer is attached to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:The memo field is to record general notes about a phone call.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustMultiLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline disc. group:Specifies multiline discount group of customer/sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NumberSequenceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence group:Group for allocation of different number sequences to different customers/vendors.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OneTimeCustomer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">One-time customer:A selected check box indicates that this is a one-time customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventOrderEntryDeadlineGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order entry deadline group:Name of the order entry deadline group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OrgId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">National Registry number:The ID number used by the Icelandic government to identify individuals and organizations</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAccountExt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Our account number:Our account number with customer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPackingMaterialFeeLicenseNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing material fee license number:Packing material fee license number from the recycling company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Specifies default native country/region in connection with addresses</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State or province:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymDayId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment day:Identification of payment days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Method of payment:Identification of the customer method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymSchedId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment schedule:Payment schedule to be used when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymSpec">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment specification:Specify payment handling for the current method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Terms of payment:Code for the terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBACustGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product model group:Identification of the customer product model group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPriceGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price group:Specifies customer/sales-order price group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjPriceGroupID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price group:Specify project price group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Rfc_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RFC number:RFC - Federal Tax Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDCaseTagging">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Case tagging:Is case tagging mandatory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDItemTagging">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item tagging:Is item tagging mandatory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDPalletTagging">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet tagging:Is pallet tagging mandatory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt calendar:Days that customers can receive their orders</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSalesDistrictId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales district:Sales district that prospect is attached to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissSalesGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales group:Commission sales group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustSalesPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order pool:Specify the sales order pool sales orders from customers are to be placed in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSegmentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Segment:Segment assigned to prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier account number:Account number that is invoiced by the carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierAccountCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account code:Account code to identify the carrier account number that will be used to bill the company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierBlindShipment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Blind shipment:If selected, the return address and logo are not printed on the packing slip or invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierFuelSurcharge">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charge fuel surcharge:If selected, a fuel surcharge will be added to the shipping charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier ID:Identification of the carrier service, assigned by the shipping carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StateInscription_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State inscription:State inscription number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustStatGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistics group:The statistics group for the customer record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSubsegmentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subsegment:Subsegment for assignment to prospect (for selected segment)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustSuppItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Supplementary item:The supplementary item group that the customer is assigned to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SyncEntityId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Entity ID:Unique identifier of an entity instance</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_GUID">
    <xs:restriction base="xs:string">
      <xs:minLength value="38" />
      <xs:maxLength value="38" />
      <xs:pattern value="({[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SyncVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Version:Version of an entity. This is a sequential number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBorderNumber_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax border number:Tax border number is required for sales invoices.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:A group of sales tax codes for calculating taxes on a sale or purchase</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxPackagingLicenseNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing duty license number:The customer's packing duty license number that is listed with the sales tax authority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdCalculate_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculate withholding tax:Shall withholding tax be calculated for vendor payment transactions in journals?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Withholding tax group:Identification of the withholding tax group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exempt number:Tax exempt identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor account:Vendor account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ECPsalesOrdersViewType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">History available:History available</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="WebEntered" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Memo:Enter any memos or notes that are related to this entry.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NameAlias">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Specify text for fast search</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address book ID:Address book identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ValidTimeStateUpdate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CreateNewTimePeriod" />
      <xs:enumeration value="Correction" />
      <xs:enumeration value="EffectiveBased" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressing">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:Addressee - enter address and zip/postal code; the rest will be inserted if the postal code exists in the postal code table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressBuildingCompliment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Building complement:The building name for an address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:City for ZIP/postal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Current currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressCountryRegionId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressCountryRegionId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Specifies default native country/region in connection with addresses</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressCountyId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressCountyId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCountyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County:Specifies a county within a state in the current country/region</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressDistrictRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">District:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressDistrictName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">District:Name of a district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyIsLocationOwner">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location owner:The party is the location owner.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsIsPrimaryAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Primary:Address is primary address for address book record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsIsPrivate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Private:Location is private.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressLatitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latitude:Latitude value for the address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Description">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Brief description of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressLongitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Longitude:Longitude value for address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressPostBox">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Post box:The post box for an address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyLocationRoleNames">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose:Location role name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressStateId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressStateId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStreet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street:Enter the street of the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStreetNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street number:The street number for an address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_EffectiveDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective::The effective date and time for record</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_ExpirationDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration::The expiration date and time for record</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressZipCodeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressZipCodeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressZipCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ZIP/postal code:Identify zip/postal code district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsCountryRegionCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region calling code:Phone country/region code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_NoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsElectronicAddressLocator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Communication:Communication address value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PhoneLocal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Extension:Employee's extension at work.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LogisticsElectronicAddressMethodType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Phone" />
      <xs:enumeration value="Email" />
      <xs:enumeration value="URL" />
      <xs:enumeration value="Telex" />
      <xs:enumeration value="Fax" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonAnniversaryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Anniversary:Anniversary.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Day">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Day:Day of year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_MonthsOfYear">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Month:Month</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="January" />
      <xs:enumeration value="February" />
      <xs:enumeration value="March" />
      <xs:enumeration value="April" />
      <xs:enumeration value="May" />
      <xs:enumeration value="June" />
      <xs:enumeration value="July" />
      <xs:enumeration value="August" />
      <xs:enumeration value="September" />
      <xs:enumeration value="October" />
      <xs:enumeration value="November" />
      <xs:enumeration value="December" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonBirthDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Birthday:The person's date of birth</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonChildrenNames">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Children:The names of the person's children</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="150" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyLocationRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_Gender">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Gender:Gender</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Male" />
      <xs:enumeration value="Female" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonHobbies">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hobbies:The person's hobbies</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="150" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonInitials">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Initials:Person's initials</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DirPersonMaritalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Marital status:Marital status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Single" />
      <xs:enumeration value="Married" />
      <xs:enumeration value="Divorced" />
      <xs:enumeration value="Widowhood" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameSequenceRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Display as:Name sequence display as.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameAffixRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameAffixValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Affix:Enter a title or a suffix</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPhoneticFirstName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phonetic first:Phonetic first name for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPhoneticLastName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phonetic last:Phonetic last name for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPhoneticMiddleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phonetic middle:Phonetic middle name for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameProfessionalSuffix">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Professional suffix:Professional suffix for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameProfessionalTitle">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Professional title:Professional title for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FirstName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">First name:Specify the first name of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LastName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last name:Specify the last name of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MiddleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Middle name:Specify the middle name of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsDunsNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DUNS number:The unique identification number assigned to the customer's company or organization.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ABC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="A" />
      <xs:enumeration value="B" />
      <xs:enumeration value="C" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirOrganizationNumberOfEmployees">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of employees:Number of employees in department</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirOrganizationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organization number:The organization number of the organization.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyActivityCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity code:ID code of the financial activity group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressFormatId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address format:An address format to be used in address records</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBankAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account:Bank account number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBranchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Branch/Subsidiary:Identification of branch/subsidiary.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBranchNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Branch number:Identification of a company unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBusinessActivityZakat_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Business activity::Main business activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBusinessActivityDescZakat_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Business activity description::Brief description of activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BusinessNumber_CA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number:Specify registration number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyRegComFR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commerce registration:Commerce registration number of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyCoRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exempt number:Company tax exempt number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsCustomerNumber_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customs customer number:Customer number for customs purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsLicenseNumber_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Domestic customs license number:Domestic license number for customs purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DBA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DBA:Doing business as</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyDVRid">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DVR:Data processing registration number of company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FICreditorID_DK">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">FI-Creditor ID:FI-Creditor ID is obtained in a DK Financial Institution and relates money transfers to a specific company and the Financial Institution chosen by the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyFileNumZakat_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Zakat file number:Company's file number with DZIT.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099ForeignEntityIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Foreign entity indicator:Select whether the company is owned by an entity outside of the United States.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GiroNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank giro number:The account number that is assigned by the bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="34" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GiroContractNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">BESR ID number:ESR contract number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GiroContractAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ESR:ESR account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatExternalCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intrastat code:Code used for reporting to the authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IssuingSignature_IT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issuing signature:Enter company signature for remittance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ParametersKey">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ID:Unique identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099LastFilingIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last filing indicator:Select Yes if this is the last year that this payer's name and TIN will be used to file information returns to the IRS.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyLegalFormFR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Legal form:Legal form of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LegalRepresentativeName_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Legal representative:Legal representative name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NameControl">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name control:Name control from 1099 mail label.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymInstructionRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment instruction code:Code which is used in the SWIFT message for foreign banks.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymRoutingDNB">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DNB Routing number:A registration number from the DNB (Netherlands Central Bank) for categorizing foreign payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymTraderNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trader number:Indication code from the DNB (Netherlands Central Bank) for transit traders.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number:Company ID number used when reporting to the authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyShippingCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipping calendar:Shipping calendar that represents possible shipping days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanySIACode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SIA code:Code assigned by SIA to the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SoftwareIdentificationCode_CA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Software identification code:Specify software identification code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099RegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Federal tax ID:Registration number with federal authorities for 1099 reporting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRepresentative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Taxable representative:Specifies taxable representative used as supplier of data for electronic tax document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="45" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TCC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">TCC:Transmitter control code assigned by IRS/MCC.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UPSNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Our delivery number:Company's number with the mail delivery service used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_OMOperatingUnitType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operating unit types:Operating unit types</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OMDepartment" />
      <xs:enumeration value="OMCostCenter" />
      <xs:enumeration value="OMValueStream" />
      <xs:enumeration value="OMBusinessUnit" />
      <xs:enumeration value="OMAnyOU" />
      <xs:enumeration value="Branch" />
      <xs:enumeration value="Location" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_userId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User ID:ID for the user</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OMTeamMembershipCriterionRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Team type:Unique identification of an organizational model team selection criterion.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestString">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="64" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_DimensionAttributeValue">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="xs:string" />
      <xs:element minOccurs="1" name="Value" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeValues">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="unbounded" name="Value" type="tns:AxdType_DimensionAttributeValue" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeValueSet">
    <xs:sequence>
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionHierarchy">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionHierarchies">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="unbounded" name="Hierarchy" type="tns:AxdType_DimensionHierarchy" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeValueCombination">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="Hierarchies" type="tns:AxdType_DimensionHierarchies" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeSet">
    <xs:sequence>
      <xs:element minOccurs="1" name="BaseEnumType" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DefaultAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="MainAccount" type="xs:string" />
      <xs:element minOccurs="1" name="AccountStructure" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_AifTestInteger">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestGuid">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_AifTestTable_SFK_MultiFieldNK_NoSFK">
    <xs:sequence>
      <xs:element minOccurs="1" name="KeyField1" type="tns:AxdExtType_AifTestString" />
      <xs:element minOccurs="1" name="KeyField2" type="tns:AxdExtType_AifTestInteger" />
      <xs:element minOccurs="1" name="KeyField3" type="tns:AxdExtType_AifTestGuid" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdEntityKey_AifTestTable_SFK_MultiFieldNK_WithSFK">
    <xs:sequence>
      <xs:element minOccurs="1" name="KeyField1" type="tns:AxdExtType_AifTestString" />
      <xs:element minOccurs="1" name="KeyField2" type="tns:AxdExtType_AifTestInteger" />
      <xs:element minOccurs="1" name="KeyField3" type="tns:AxdExtType_AifTestGuid" />
      <xs:element minOccurs="1" name="KeyField4" type="tns:AxdExtType_RefRecId" />
      <xs:element minOccurs="1" name="KeyField5_KeyField" type="tns:AxdExtType_AifTestString" />
      <xs:element minOccurs="1" name="KeyField6_KeyField1" type="tns:AxdExtType_AifTestString" />
      <xs:element minOccurs="1" name="KeyField6_KeyField2" type="tns:AxdExtType_AifTestInteger" />
      <xs:element minOccurs="1" name="KeyField6_KeyField3" type="tns:AxdExtType_AifTestGuid" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdType_ContainerElementTypeRestrictions">
    <xs:restriction base="xs:string">
      <xs:enumeration value="blob" />
      <xs:enumeration value="date" />
      <xs:enumeration value="datetime" />
      <xs:enumeration value="enum" />
      <xs:enumeration value="int" />
      <xs:enumeration value="int64" />
      <xs:enumeration value="real" />
      <xs:enumeration value="str" />
      <xs:enumeration value="guid" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_ContainerElement">
    <xs:simpleContent>
      <xs:extension base="xs:anySimpleType">
        <xs:attribute name="type" type="tns:AxdType_ContainerElementTypeRestrictions" use="required" />
        <xs:attribute name="name" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdType_Container">
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdExtType_AifTestContainer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_AifTestDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestDateArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_AifTestDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_AifTestDateTimeArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_Types">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="String" />
      <xs:enumeration value="Integer" />
      <xs:enumeration value="Real" />
      <xs:enumeration value="Date" />
      <xs:enumeration value="Enum" />
      <xs:enumeration value="RString" />
      <xs:enumeration value="UtcDateTime" />
      <xs:enumeration value="Container" />
      <xs:enumeration value="VarString" />
      <xs:enumeration value="Record" />
      <xs:enumeration value="Class" />
      <xs:enumeration value="UserType" />
      <xs:enumeration value="AnyType" />
      <xs:enumeration value="BLOB" />
      <xs:enumeration value="void" />
      <xs:enumeration value="Guid" />
      <xs:enumeration value="Int64" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="VarArg" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestEnum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="String" />
      <xs:enumeration value="Integer" />
      <xs:enumeration value="Real" />
      <xs:enumeration value="Date" />
      <xs:enumeration value="Enum" />
      <xs:enumeration value="RString" />
      <xs:enumeration value="UtcDateTime" />
      <xs:enumeration value="Container" />
      <xs:enumeration value="VarString" />
      <xs:enumeration value="Record" />
      <xs:enumeration value="Class" />
      <xs:enumeration value="UserType" />
      <xs:enumeration value="AnyType" />
      <xs:enumeration value="BLOB" />
      <xs:enumeration value="void" />
      <xs:enumeration value="Guid" />
      <xs:enumeration value="Int64" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="VarArg" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestEnumArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="String" />
      <xs:enumeration value="Integer" />
      <xs:enumeration value="Real" />
      <xs:enumeration value="Date" />
      <xs:enumeration value="Enum" />
      <xs:enumeration value="RString" />
      <xs:enumeration value="UtcDateTime" />
      <xs:enumeration value="Container" />
      <xs:enumeration value="VarString" />
      <xs:enumeration value="Record" />
      <xs:enumeration value="Class" />
      <xs:enumeration value="UserType" />
      <xs:enumeration value="AnyType" />
      <xs:enumeration value="BLOB" />
      <xs:enumeration value="void" />
      <xs:enumeration value="Guid" />
      <xs:enumeration value="Int64" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="VarArg" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestGuidArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestInt64">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestInt64Array">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestIntegerArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Decimal2">
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestReal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestRealArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestStringArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_timeOfDay">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestTimeArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankDocumentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank document type:Bank document type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LetterOfCredit" />
      <xs:enumeration value="ImportCollection" />
      <xs:enumeration value="LetterOfGuarantee" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DiscPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percentage:Discount in percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountyOrigDest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County of origin/destination:Intrastat county of origin/destination.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CovStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash flow forecast status:Status of cash flow forecast for the current transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:Transaction amount in default currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardAuthorization">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Authorization code:Authorization code that was returned from the credit card processor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardProcessorTransactionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference ID:Reference ID that is received from credit card processor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="48" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer reference:Customer's reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesDeadline">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Last date for acceptance of the order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesShippingDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ship date:Confirmed ship date if exists, otherwise requested ship date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesDeliveryDateControlType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date control:Delivery date control</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="SalesLeadTime" />
      <xs:enumeration value="ATP" />
      <xs:enumeration value="ATPPlusIssueMargin" />
      <xs:enumeration value="CTP" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Customer name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location ID:Id for location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_LogisticsPostalAddress">
    <xs:sequence>
      <xs:element minOccurs="1" name="Location_LocationId" type="tns:AxdExtType_LogisticsLocationId" />
      <xs:element minOccurs="1" name="ValidFrom" type="tns:AxdExtType_EffectiveDateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SalesEndDiscPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount %:Total discount on the sales order in percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DocumentStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Quotation" />
      <xs:enumeration value="PurchaseOrder" />
      <xs:enumeration value="Confirmation" />
      <xs:enumeration value="PickingList" />
      <xs:enumeration value="PackingSlip" />
      <xs:enumeration value="ReceiptsList" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="ApproveJournal" />
      <xs:enumeration value="ProjectInvoice" />
      <xs:enumeration value="ProjectPackingSlip" />
      <xs:enumeration value="CRMQuotation" />
      <xs:enumeration value="Lost" />
      <xs:enumeration value="Cancelled" />
      <xs:enumeration value="FreeTextInvoice" />
      <xs:enumeration value="RFQ" />
      <xs:enumeration value="RFQAccept" />
      <xs:enumeration value="RFQReject" />
      <xs:enumeration value="PurchReq" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EInvoiceAccountCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension account:When settling to a public sector organization it is possible to specify a dimension account code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EInvoiceLineSpecific">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line-specific:Specify the dimension account code for settlement to the public sector organization on line level.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Email">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail:Internet e-mail address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesEstimateGross">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Estimated amount:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesExportReason">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason for export:Explanation of why the goods are being exported</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesFixedDueDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date:Due date independent of terms of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesFixedExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed exchange rate:Fixed exchange rate for this order. If the rate field is blank, the rate of the currency code is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFreightSlipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag type:Freight company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyCompanyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:Identification of intercompany company accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyCustomer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany:Indicate that this an intercompany organization</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyOriginalCustAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original customer:The customer account number on the original sales order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyOriginalSalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:The original sales order from which the intercompany purchase/intercompany sales was created</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyPurchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Identification of the intercompany purchase order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesInventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ListcodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">List code:List code to be used with the EU sales list.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="IncludeNot" />
      <xs:enumeration value="EUTrade" />
      <xs:enumeration value="ProductionOnToll" />
      <xs:enumeration value="TriangularEUTrade" />
      <xs:enumeration value="TriangularProductionOnToll" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymSpec">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment specification:Specify payment handling for the current method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatPortId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Port:Port where current delivery is loaded.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPostingProfile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting profile:Posting profile being processed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project ID:Project identification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Identification of the purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPurchaseOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer requisition:Customer requisition number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation:Identifies the quotation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesReceiptDateConfirmed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirmed receipt date:The selling company confirms that the customer will receive the order on this date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesReceiptDateRequested">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested receipt date:The day the customer originally asked to receive the order on</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ItemReservation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reservation:Reservation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Automatic" />
      <xs:enumeration value="Explosion" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnDeadline">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Date the return delivery must be received.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesReturnItemNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RMA number:Unique number issued to authorize the return.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnReasonCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return reason code:Customer reason for returning the item(s).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnReplacementCreated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Up-front replacement:Was replacement order created before receiving the returned items?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnReplacementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replacement reference:Reference to the replacement order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ReturnStatusHeader">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return status:Return status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Created" />
      <xs:enumeration value="Open" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Closed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Identification of the order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesOriginId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales origin:Code for order origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pool:Identification of the sales order pool</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Backorder" />
      <xs:enumeration value="Delivered" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order type:Order type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Journal" />
      <xs:enumeration value="Del_Quotation" />
      <xs:enumeration value="Subscription" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="ReturnItem" />
      <xs:enumeration value="DEL_Blanket" />
      <xs:enumeration value="ItemReq" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSalesUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales unit:A team of salesmen responsible for a common sales target.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesSettlementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement type:Specify if voucher should be settled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="OpenTransact" />
      <xs:enumeration value="SelectedTransact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Name">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ShipCarrierDlvType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service:Service</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Misc" />
      <xs:enumeration value="Ground" />
      <xs:enumeration value="Air" />
      <xs:enumeration value="PickUp" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierExpeditedShipment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expedited shipment:If selected, the shipment is expedited and free minimums will not be considered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierResidentialDest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Residential destination:Identifies ship via as "residential" to determine the remote delivery surcharge rate</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesShippingDateConfirmed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirmed ship date:The selling company confirms that the order will be shipped on this date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesShippingDateRequested">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested ship date:The day the selling company should ship the item in order to meet the customer's requested receipt date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Campaign ID:The identification of the campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSalesAmountTotal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total amount:Total amount calculated for the sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatProcId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistics procedure:Code for the current statistical procedure.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount in currency:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount amount:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges amount:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax amount:Calculated sales tax amount in the sales tax settlement currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatTransactionCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction code:Code for the current transaction code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatTransport">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transport:Specify means of transport for the current order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_URL">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Internet address:WWW address for Internet homepage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATNumJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exempt number:Tax exempt identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjActivityNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity number:The activity number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesBarCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code:Bar code digits</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BarcodeSetupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code setup:Setup of bar code type, font, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineStopped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stopped:Is the line locked?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineComplete">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Complete:Deliver complete line?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnCostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return cost price:Cost price per unit of the returned item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line number:Customer's line number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustRefLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer reference:Customer's reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales quantity:Number of sales units.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeLineDlvTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery type:Delivery type of the current order line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="DropShip" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_DlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_DlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:Unique identification of delivery mode</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnExpectedRetQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity to be returned.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesExternalItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">External:Customer item number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeInventTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lot ID:Identification of the item lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity of the item in inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDimId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension No.:Identification of dimensions for the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference number:Number of the order, project, production, or purchase referred to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventRefTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference lot:Lot ID referred to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventRefType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference type:Reference type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="ProdLine" />
      <xs:enumeration value="InventJournal" />
      <xs:enumeration value="CRMQuotation" />
      <xs:enumeration value="InventTransfer" />
      <xs:enumeration value="FixedAsset" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeInventTransIdReturn">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return lot ID:Lot ID for items being returned</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBOMId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sub-BOM:BOM number for specific sub-BOM. If blank, the active number is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemIdSmall_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemIdSmall tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdSmall">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product model number:Product model ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnItemReplaced">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item replaced:Is sales line created for returned item?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemRouteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subroute:Route number for specific subroute. If blank, the active number is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLineAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net amount:Sales amount of the line (incl. discount).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLineDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:Line discount in amount per price unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineHeader">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line heading:Text describing the line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line number:Identification of line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLinePercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percent:Line discount percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesMultiLnDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount:Multiline discount per price unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesMultiLnPercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount percentage:The multiline discount percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemFreeTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Standard item description.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesOverDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overdelivery:Accepted overdelivery in percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_InventPackingUnit_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_InventPackingUnit tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPackingUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing unit:Unit the item is packed in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPackingUnitQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing unit quantity:Quantity of packing units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price unit:Number of units the price is specified in.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCategoryId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category that is used as a default.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjLinePropertyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line property:Attribute that defines cost and sales percentages and options for revenue accrual and capitalization cost</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjItemTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnAllowReservation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allow reservation:Treat lot as On Order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnArrivalDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Actual arrival date:Date when the return delivery was received.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnClosedDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closed date:Date when the return line was invoiced or cancelled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnDispositionCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Disposition code:Identification of the disposition code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ReturnStatusLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return status:Return status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Awaiting" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="Quarantine" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Category name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryHierarchyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Category hierarchy name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="128" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_EcoResCategory">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="tns:AxdExtType_EcoResCategoryName" />
      <xs:element minOccurs="1" name="CategoryHierarchy_Name" type="tns:AxdExtType_EcoResCategoryHierarchyName" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SalesMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales misc. charges:Fixed misc. charges on price, applied once for each invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales price:Overview of sales price setup for costs.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesOrderedQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity ordered in the sales unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_SalesUnit_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_SalesUnit tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit the item is sold in.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceOrderId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service order:Identification of service order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatTriangularDeal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Triangular deal:Is this a triangular deal?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAutoGenerated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto:Sales tax is automatically calculated or specified by user.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxItemGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item sales tax group:Group of sales tax codes that can be calculated for an item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdItemGroup_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item withholding tax group:Group of withholding tax codes that can be calculated for an item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesUnderDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Underdelivery:Accepted underdelivery in percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemConfigurationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration:Descriptive name of configuration</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventBatchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Batch number:Batch dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemColorName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Color:Descriptive name of color</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSerialId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Serial number:Serial number dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemSizeName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Size:Descriptive name of size</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Location in a warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPalletId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet ID:Unique ID for the pallet (Serial Shipping Container Code)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_selectableDataArea">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:ID for the company you can select</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmEncyclopediaItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Knowledge article item ID:The knowledge article identification reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Notes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:Enter an optional comment about this record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_tableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Table Id:ID for the table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DocuRestriction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Restriction:Restriction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Internal" />
      <xs:enumeration value="External" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_boolean">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DocuTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Identification of document type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany invoice number:Number of the invoice received from the intercompany company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyMarkupUseValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use value:Calculate misc. charge amount from intercompany misc. charge amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyMarkupValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Calculated value from the intercompany sales order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupKeep">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Keep:Keep misc. charges transaction after invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupCategoryType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Misc. charges category applicable to the line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Fixed" />
      <xs:enumeration value="Pcs" />
      <xs:enumeration value="Percent" />
      <xs:enumeration value="InterCompanyPercent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_MarkupCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_MarkupCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges code:Identification of the misc. charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupModuleCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category in module (header, line)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Heading" />
      <xs:enumeration value="Linie" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupModule">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Module:Specify which module the misc. charges group is attached to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Vend" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWriteCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print code:Code printed on the voucher.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction text:Text describing the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges value:Value attached to the misc. charges category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Voucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher:Voucher number in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Str60">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">String 60:Common</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_validFromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective:The date from which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_validToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration:The date up to which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_validFromDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective:The time from which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_validToDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration:The time up to which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_AssetConditionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Asset condition:Identify a condition an asset can be in, for example, poor, good, or excellent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AssetType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Tangible" />
      <xs:enumeration value="Intangible" />
      <xs:enumeration value="Financial" />
      <xs:enumeration value="LandBuilding" />
      <xs:enumeration value="Goodwill" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAutoNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autonumber fixed assets:Assign numbers automatically to new fixed assets?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NumberSequenceCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence code:Current number sequence code to be used with references.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetCapitalizationThreshold">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Capitalization threshold:Enter capitalization threshold amount to use as the default value for fixed asset groups</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGISLayerId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GIS layer ID:Default Geographic Information System layer identifier for assets in this asset group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed asset group:Select a fixed asset group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuredValueFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insured value factor:Enter the percentage to increase or decrease the insured value during the fixed asset periodic process, for example, enter 1.5 for 1.5%.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Location of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetMajorTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Major type:Identify a top-level asset classification for reporting purposes only, for example, street, land, or sewer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the fixed asset group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPropertyTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Property type:Identify the type of property that the asset is.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="FixedAsset" />
      <xs:enumeration value="ContinuingProperty" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReplacementCostFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replacement cost factor:Enter the percentage to increase or decrease the replacement cost during the fixed asset periodic process, for example, enter 1.5 for 1.5%.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLocationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAcquisitionValueNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Acquisition price for tax purposes:Acquisition value of the fixed asset for tax purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAssessmentNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax assessment value:Tax assessment value of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAssessmentTaxNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value for tax purposes:Value for tax purposes of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed asset number:Unique key for identification of fixed asset. The key is used when creating new assets.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReplaceCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replacement cost:Cost to replace this fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetBarcode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code:Bar code of the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLongDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Asset long description:Description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Filename">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">File name:File path and name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="259" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGISReferenceNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GIS reference number:Enter the Geographic Information System reference number, which indicates the exact location within the GIS layer for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction date:Date of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuranceAgent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Agent:Identify the insurance agent for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuranceDate1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insurance date 1:Insurance date field used to keep check on insurance end dates, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuranceDate2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insurance date 2:Insurance date field used to keep check on insurance end dates, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsurancePolicyNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Policy number:Insurance policy number of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NoYesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuredValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insured value:Value that the fixed asset is insured for.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLastFactorUpdateDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last periodic value/cost update:Displays the date the replacement cost or insured value was last updated using the fixed asset periodic process.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLastMaintenance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last maintenance:Date of last maintenance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetIdMain">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main fixed asset:The main fixed asset that this fixed asset uses as its parent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetMaintenanceInfo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Info:Field with update information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetMaintenanceInfoMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Info:Field with update information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetModelYear">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Model year:Enter the year that the item was built.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetNameAlias">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Find fast name applying to the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetNextMaintenance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Next maintenance:Date of next maintenance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetNotes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Comments:Comment to physical inventory.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetParcelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Parcel  ID:If the asset is land, enter the identifier for the parcel, which is a plot of land. For example, enter 01-6211421.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPhysicalInventory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical inventory:Date of last physical inventory of this fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPolicyAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Policy amount:Enter the amount that the asset is insured for.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPolicyExpiration">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Policy expiration date:Enter the expiration date on the insurance policy for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:The number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Comment to physical inventory.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReturnOnInvestmentsNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin for return on capital:Origin of calculation of the return on capital.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetRoomNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Room number:Enter the room number where the asset is located.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Num">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSortingId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort field 1:Alternative sort field for the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSortingId2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort field 2:Alternative sort field for the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSortingId3">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort field 3:Alternative sort field for the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSubventionNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Taxable contribution:Taxable contribution to the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSubventionTaxFreeNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax-free contribution:Tax-free contribution to the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTaxCountyNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Municipality:Municipality that the fixed asset will be reported to for tax purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTechInfo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Technical info:Field for technical information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTitleHolder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Titleholder:Identify the agency that holds the title for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetUnitCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit cost:The cost per unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetUnitOfMeasure">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit of measure:The common unit of measure for the item, for example, dozen, case, or each</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetValueAt19840101NO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value as on 1/1/1984:Value of the fixed asset as on January 1, 1984.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISOMax500Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="500" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_BankStmtISODateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DateTime:UTC Date Time fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BankStmtISONumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Numeric (number) fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISOCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Currency-Code fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISODecimal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Decimals:Decimal fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMVersionActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Active:Is this version active?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMVersionApproved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved:Is the version approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMRouteApprover">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved by:Worker who approved the record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">BOM:BOM identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMRouteVersionConstruction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Construction:The version is in the process of construction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From date:From</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FromQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From qty.:From</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemIdProduction_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemIdProduction tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdProduction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To date:To</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item group:Identification of item group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMConsumpType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consumption is:Consumption is</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Variable" />
      <xs:enumeration value="Constant" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Turnover qty., number of units of raw material used in the finished item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMQtySerie">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Per series:Number of units the quantity applies to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line type:Line type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="Phantom" />
      <xs:enumeration value="PeggedSupply" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMCalcBOMLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculation:Include the line in BOM calculations?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfigGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration group:Identification of the configuration group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureConstant">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Constant:Measurement turnover quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureDensity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Density:Measurement conversion factor for the density dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureDepth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Depth:Measurement conversion factor for the depth dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMEndSchedConsump">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End:Schedule planned consumption at the end of current operation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMFormula">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Formula:Formula</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Formula0" />
      <xs:enumeration value="Formula1" />
      <xs:enumeration value="Formula2" />
      <xs:enumeration value="Formula3" />
      <xs:enumeration value="Formula4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StartDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date:Start date of period.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureHeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Height:Measurement conversion factor for the height dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemIdInventoried_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemIdInventoried tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdInventoried">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OprNumBOMLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Oper. No.:Operation number consuming item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMPosition">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Position:BOM position</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdFlushingPrincipBOM">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flushing principle:Flushing principle</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="Start" />
      <xs:enumeration value="Finish" />
      <xs:enumeration value="Manual" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjSetSubProdToConsumed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Set subproduction to Consumed:Set project posting type of subproduction to Consumed?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMRoundUp">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding-up:Rounding-up</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Qty" />
      <xs:enumeration value="MeasureConfig" />
      <xs:enumeration value="Consumption" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMRoundUpQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiples:Round-up multiples</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ScrapConst">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Constant scrap:Constant scrap in BOM unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ScrapVar">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Variable scrap:Variable scrap percentage (must be specified in percent)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EndDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date:End date of period.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_UnitOfMeasureSymbol_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_UnitOfMeasureSymbol tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureSymbol">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit symbol</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureWidth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Width:Factor for the measurement dimension width.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrConsumption">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resource consumption:Consumption on resource</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetModelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget model:Budget model number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction code:Identification of the transaction code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetTransactionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction type:Transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OriginalBudget" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="Amendment" />
      <xs:enumeration value="Encumbrance" />
      <xs:enumeration value="PreEncumbrance" />
      <xs:enumeration value="CarryForwardBudget" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="FixedAsset" />
      <xs:enumeration value="SalesForecast" />
      <xs:enumeration value="PurchForecast" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger name:The name of the ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetTransactionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction number:Document number for the budget transaction. The budget transaction number sequence determines this.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetTransactionStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction document status:Transaction document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Completed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetTransactionWorkflowStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow status:Workflow status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount type:Amount type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Expense" />
      <xs:enumeration value="Revenue" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Price">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price:Run-dependent price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Qty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CatProductActionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Action type:Action type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AllItems" />
      <xs:enumeration value="Add" />
      <xs:enumeration value="Update" />
      <xs:enumeration value="Delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductSearchName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Specify text for fast search</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CatVendorProductStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product status:Product status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDisplayProductNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product number:Identification of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyHighest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Max. order quantity:Maximum quantity applying to item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTimePurchDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase lead time:Default lead time or lead time in number of days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyLowest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Min. order quantity:Minimum quantity applying to item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyMultiples">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiple:Multiples quantity during packing or production</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyStandard">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Standard order quantity:Standard order quantity applying to item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueBoolean">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Boolean:The value of the Boolean data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_AttributeValueDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DateTime:The value of the DateTime data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SysInt64">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer:Integer value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueFloat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Float:The value of the Float data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueInt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer value:The value of the Integer data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:The value of the Text data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1999" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueCurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:The value of the currency data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CatVendorCatalogDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Catalog description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1024" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageIdAll">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CatVendorProductCandidateName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Name of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ClearingPeriod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settle period:Terms of payment for period from due date to payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Terms of payment:Code for the terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendTaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default tax group:Default tax group for customers and vendors</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCashDiscDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Disc. date:Cash discount date to be used when creating customer transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReasonRefRecID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason table reference:Contains stored financial reason codes and comments for entered or posted transactions or actions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DocumentDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DueDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date:Due date of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted via intercompany:The journal was posted automatically via intercompany</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Log:Specification of action taken.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Posted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_PostReleaseDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Release date:The date that the transaction can be posted. If the field is blank, the transaction can be posted immediately.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_SubLedgerJournalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subledger journal status:Subledger journal status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Required" />
      <xs:enumeration value="Processing" />
      <xs:enumeration value="Processed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeTouched">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update:Update record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustFreeInvoiceWFApprovalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow status:Workflow status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="PendingApproval" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="ChangeRequested" />
      <xs:enumeration value="Pending" />
      <xs:enumeration value="Cancellation" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="PendingCompletion" />
      <xs:enumeration value="Completed" />
      <xs:enumeration value="PendingCancellation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetBookIdPurchSalesInvent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value model:Value model related to the current transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetIdOpen">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed asset number:Unique key for identification of fixed asset. The key is used when creating new assets.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatItemCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commodity:Item commodity code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NGP_FR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">NGP:French national item code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemOrigCountryRegionId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemOrigCountryRegionId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemOrigCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Country/region of origin of the current inventory item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemOrigStateId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemOrigStateId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemOrigStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State or province:State of origin for the current item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceTableRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjInvoiceProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project contract ID:Project from which invoicing is being carried out.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjFundingSourceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Funding source name:Enter a name to identify the funding source</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_ProjFundingSource">
    <xs:sequence>
      <xs:element minOccurs="1" name="ContractId" type="tns:AxdExtType_ProjInvoiceProjId" />
      <xs:element minOccurs="1" name="FundingSourceId" type="tns:AxdExtType_ProjFundingSourceId" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_ProjTransIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Enter quantity for line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax amount:Calculated sales tax amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceUnitPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit price:Enter sales price per quantity unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Weight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Weight:Specification of weight.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerJournalACType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account type:Account type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Ledger" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Vend" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="FixedAssets" />
      <xs:enumeration value="Bank" />
      <xs:enumeration value="DEL_CostAcc" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AcknowledgementDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction date:Date when the company gains knowledge of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurCredit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit:Credit amount in given currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurDebit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Debit:Debit amount in given currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Approved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved:Has transaction been approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmApprover">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved by:Worker who approved the record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankBillOfExchangeNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bill of exchange number:Number of the printed bill of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankChequeNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Check number:Identification of the bank check.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDepositNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deposit slip:Deposit slip number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDepositVoucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use a deposit slip:If selected, the payment amount can be deposited using a deposit slip</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankLCLineRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment number:The shipment number of shipment details.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankNegInstRecipientName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Recipient name:The name of the recipient who will be issued a check.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankPromissoryNoteNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Promissory note number:Number of the printed promissory note.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRemittanceFileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance number:Unique identification of the remittance file.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankRemittanceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance type:Remittance type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Collection" />
      <xs:enumeration value="Discount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankTransactionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank transaction type:Transaction type in bank module.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Cancelled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Canceled:Cancellation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CashDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Cash discount code for subsequent approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEinvoicePaymDeliveryNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Our delivery number:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEinvoicePaymSectionNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Section number:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEinvoicePaymTransNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction number:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankAccountID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account identification:Unique identification of account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustVendNegInstProtestReason">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Protest cause:Protest cause</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="NonAcceptance" />
      <xs:enumeration value="NonPayment" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DocumentNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document:Document number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ErrorCodePayment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Error code:Error code received with return message.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ListDispatchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dispatch:Sequence transaction number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate:Specify the cost in the foreign currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchrateSecondary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Secondary exchange rate:Rate of the secondary part of the currency calculation, when triangulation is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PeriodUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Day" />
      <xs:enumeration value="Month" />
      <xs:enumeration value="Year" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Freq">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of units:Number of units in the individual interval for the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalTransRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FurtherPostingType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bridging posting:Use bridging posting?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_GSTHSTTaxType_CA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GST/HST:GST/HST</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Rebates111" />
      <xs:enumeration value="TaxOnAcquisition205" />
      <xs:enumeration value="SelfAssessment405" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_InvoiceReleaseDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice payment release date:The date  when the hold is released for the invoice payment</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_LedgerJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal number:Ledger - journal batch number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LastTransferred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last date:Last date of transfer of periodic transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDynamicAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account:Account number for current account type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendNegInstId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Negotiable instrument ID:Identification of the negotiable instrument.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalTransTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction text:Text describing the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VendorOperationType_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of operation:Type of operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="ProServices" />
      <xs:enumeration value="RentLease" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymNote">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:Specific comments on payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentSequenceNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">File No.:Number of the file sent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustVendPaymStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment status:Payment status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sent" />
      <xs:enumeration value="Recieved" />
      <xs:enumeration value="Confirmed" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Delete" />
      <xs:enumeration value="SentDelete" />
      <xs:enumeration value="Deleted" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment ID:Payment identification used upon payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="200" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Method of payment:Method of payment for the current payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment reference:Reference to a specific payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PostingProfile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting profile:Posting profile being processed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchIdRange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Shows the selected ranges and their values</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLedgerPosting">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase posting:Posting used when approving the purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Arrival" />
      <xs:enumeration value="Offset" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyStatistical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity in statistics</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReleaseDateComment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Release date comment:Provide an optional comment for the release date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Amount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:Amount in default currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RemittanceAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:The mailing address that will be printed on remittances and checks</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RemittanceLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance location:Select a remittance address location name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SettlementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement type:Settlement type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="OpenTransact" />
      <xs:enumeration value="SelectedTransact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099Amount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 amount:Amount to be reported in 1099</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099FieldsRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 box:Box code on the 1099 form that the total amount is posted to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099State">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State or province:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099StateAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 state amount:Amount to be reported in 1099</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax code:Code that identifies the sales tax.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroupJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:Identification of sales tax group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdAlternateVendorAcct_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alternate account:Vendor invoice account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdItemGroupId_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item withholding tax group:Group of withholding tax codes that can be calculated for an item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerTransType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction type:Transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="Interest" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="ExchAdjustment" />
      <xs:enumeration value="SummedUp" />
      <xs:enumeration value="Payroll" />
      <xs:enumeration value="FixedAssets" />
      <xs:enumeration value="CollectionLetter" />
      <xs:enumeration value="Vend" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="Bank" />
      <xs:enumeration value="Conversion" />
      <xs:enumeration value="BillOfExchange" />
      <xs:enumeration value="PromissoryNote" />
      <xs:enumeration value="Cost" />
      <xs:enumeration value="Work" />
      <xs:enumeration value="Fee" />
      <xs:enumeration value="Settlement" />
      <xs:enumeration value="Allocation" />
      <xs:enumeration value="Elimination" />
      <xs:enumeration value="CashDiscount" />
      <xs:enumeration value="OverUnder" />
      <xs:enumeration value="PennyDifference" />
      <xs:enumeration value="CrossCompanySettlement" />
      <xs:enumeration value="PurchReq" />
      <xs:enumeration value="InflationAdjustment_MX" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceDeclarationId_IS">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice declaration:Classification of vendor invoices used for instance for reporting to authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendTransRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAttentionToAddressLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Attention:Attention to address line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationRoleRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location role:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPrivacyGroupRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsDunsNumberRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DUNS:The unique identification number assigned to the customer's company or organization.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Addressing">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:Addressee - enter address and zip/postal code; the rest will be inserted if the postal code exists in the postal code table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCityRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressLatitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latitude:Latitude value for the address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressLongitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Longitude:Longitude value for address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressStreet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street :Enter the street of the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressZipCodeRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Zip code:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationIsElectronic">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contact information:Indicates if a location is of contact information type or not</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationIsPostal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Postal address:Indicates if a location is of postal address type or not</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationRoleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Role:Location role name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LogisticsLocationRoleType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="Delivery" />
      <xs:enumeration value="AltDlv" />
      <xs:enumeration value="SWIFT" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Service" />
      <xs:enumeration value="Home" />
      <xs:enumeration value="Other" />
      <xs:enumeration value="Business" />
      <xs:enumeration value="RemitTo" />
      <xs:enumeration value="ShipCarrierThirdPartyShipping" />
      <xs:enumeration value="Statement" />
      <xs:enumeration value="PrimaryPostalAddress" />
      <xs:enumeration value="PrimaryElectronicAddress" />
      <xs:enumeration value="FixedAsset" />
      <xs:enumeration value="OneTime" />
      <xs:enumeration value="Recruit" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDisplayValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger account:Account number, including dimensions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="500" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_DimensionSHA1Hash">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension set hash code:Dimension set hash code uniquely identifying the combination of references held in the set</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_LedgerDimensionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger dimension type:Ledger dimension type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Account" />
      <xs:enumeration value="DefaultAccount" />
      <xs:enumeration value="Budget" />
      <xs:enumeration value="BudgetControl" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account number:The account number that is assigned by the bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="34" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankAccountType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account type:Bank account type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CheckingAccount" />
      <xs:enumeration value="SavingsAccount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCIN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CIN:Control internal number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankCodeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number type:Routing number type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Code_None" />
      <xs:enumeration value="Code_AT" />
      <xs:enumeration value="Code_BL" />
      <xs:enumeration value="Code_CC" />
      <xs:enumeration value="Code_CP" />
      <xs:enumeration value="Code_CH" />
      <xs:enumeration value="Code_FW" />
      <xs:enumeration value="Code_SC" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank groups:A group the bank can be attached to. Used for general information and grouping of accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankIBAN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">IBAN:International bank account number. maximum of 34 alphanumeric characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="34" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PhoneMobile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mobile phone:Mobile phone number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PersonName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name of person:Name of the person.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDomNumber_BE">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Domiciliation number:Identify domiciliation number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymTextCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text code:Code specifying a text on the account statement of the recipient.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CrossExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cross rate:Exchange rate between payment and invoice, if they are in different currencies.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchRateRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange reference:Reference number of any forward or fixed-term rate of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankMsgToBank">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Message to bank:Message to the bank sent with the payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Pager">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pager:Number of pager.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Phone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Telephone:Telephone number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number:Routing number of the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMS">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SMS:E-mail address for sending SMS to a mobile phone.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SWIFTNo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SWIFT code:SWIFT code, also known as BIC (Bank Identifier Code).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TeleFax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fax:Fax number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Telex">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Telex number:Telex number of the current address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CurrentOperationsTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting layer:Posting layer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Current" />
      <xs:enumeration value="Operations" />
      <xs:enumeration value="Tax" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustVendNegInstProtestProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Protest settled process:Protest settled process</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OpenPaym" />
      <xs:enumeration value="OpenTrans" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DetailSummary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Detail level:Detail level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Detail" />
      <xs:enumeration value="Summary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalEndBalance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ending balance:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FixedExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed rate:Specify whether fixed exchange rate is to be used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FixedOffsetAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed offset account:Specifies whether posting may be made to one specific offset account only.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalBlockUserGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Private for user group:User group that the journal is private to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalBalance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal balance:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Daily" />
      <xs:enumeration value="Periodic" />
      <xs:enumeration value="PurchaseLedger" />
      <xs:enumeration value="Approval" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="CustPayment" />
      <xs:enumeration value="Cost" />
      <xs:enumeration value="DEL_Revenue" />
      <xs:enumeration value="VendInvoiceRegister" />
      <xs:enumeration value="VendInvoicePool" />
      <xs:enumeration value="VendInvoicePoolNotPosted" />
      <xs:enumeration value="Assets" />
      <xs:enumeration value="AssetBudgets" />
      <xs:enumeration value="CustPaymRemittance" />
      <xs:enumeration value="CustBillOfExchangeDraw" />
      <xs:enumeration value="CustBillOfExchangeProtest" />
      <xs:enumeration value="CustBillOfExchangeRedraw" />
      <xs:enumeration value="VendPromissoryNoteDraw" />
      <xs:enumeration value="CustBillOfExchangeAccept" />
      <xs:enumeration value="VendPromissoryNoteRedraw" />
      <xs:enumeration value="VendPaymRemittance" />
      <xs:enumeration value="CustBillOfExchangeSettle" />
      <xs:enumeration value="VendPromissoryNoteSettle" />
      <xs:enumeration value="CostAccDaily" />
      <xs:enumeration value="CostAccPeriodic" />
      <xs:enumeration value="StatTrans" />
      <xs:enumeration value="Allocation" />
      <xs:enumeration value="Elimination" />
      <xs:enumeration value="BankChequeReversal" />
      <xs:enumeration value="BankDepositPaymCancel" />
      <xs:enumeration value="Budget" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalInclTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount incl. sales tax:Amount entered in the journals includes sales tax</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalLinesLimit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lines limit:If the number of lines in a journal exceeds this number, posting will distribute the lines into several smaller journals.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalNumOfLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lines:Number of journal lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDynamicDefaultAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main account:Default main account used for posting in ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted:Has the journal been posted?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_JournalPostedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted on:Date the journal was posted.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_LedgerJournalDelLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delete lines after posting:Delete journal lines when posting is completed?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalSessionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Session ID:ID for the current session.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_JournalSessionLoginDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Logon time:Date and time.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_JournalBlockUserId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Private for user:User that the journal is private to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VoucherAllocatedAtPosting">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number allocation at posting:Voucher number allocation in journals at posting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerJournalWFApprovalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow approval status:Workflow approval status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="PendingApproval" />
      <xs:enumeration value="ChangeRequested" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TempReal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Real:For temporary storage of CSV</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CashDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount amount:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_KeyValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Key value:Value of key.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company accounts ID:Company ID is the initials of the company accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RefTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference table ID:Table the transaction refers to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurDebCred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount in currency:Amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountMSTDebCred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:Transaction amount in default currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDiscNoticeDeadline">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Deadline for feedback from the bank on payments.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerDimensionDefaultAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main account:Default main account used for posting in ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLastInterestDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest date:Specifies the date of the most recent interest calculation for the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCashDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount amount:Cash discount amount included in the transaction when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_UseCashDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use cash discount:Use cash discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Always" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRemittanceFileIdCust">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance number:Unique identification of the remittance file.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBillOfExchangeID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bill ID:Unique key for identification of bills of exchange. The key is used when creating new bills of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendNegInstSeqNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sequence number:Sequence number for bills of exchange and promissory notes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBillOfExchangeStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status of the bill of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Drawn" />
      <xs:enumeration value="Redrawn" />
      <xs:enumeration value="Protested" />
      <xs:enumeration value="Honored" />
      <xs:enumeration value="Remitted" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="InvoiceRemitted" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustCollectionLetterCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Collection letter code:Collection letter code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="CollectionLetter1" />
      <xs:enumeration value="CollectionLetter2" />
      <xs:enumeration value="CollectionLetter3" />
      <xs:enumeration value="CollectionLetter4" />
      <xs:enumeration value="Collection" />
      <xs:enumeration value="All" />
      <xs:enumeration value="CollectionPerCust" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Correct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correction:Is the transaction a correction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchAdjustmentRealized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Realized exchange adjustment:Realized exchange adjustment amount of this transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchAdjustmentUnrealized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unrealized exchange adjustment:Unrealized exchange adjustment amount of this transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchAdjustment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange adjustment amount:Amount of the transaction exchange adjustment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInterestCalculate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest calculation:May interest be calculated on the transaction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustTransRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymManBatch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reporting batch:Identification of the reporting batch.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymManLackDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Time limit for feedback from the bank on payments</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_NetCurrent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net/Current:Net/Current</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Net" />
      <xs:enumeration value="CurrentMth" />
      <xs:enumeration value="CurrentQuart" />
      <xs:enumeration value="CurrentYear" />
      <xs:enumeration value="CurrentWeek" />
      <xs:enumeration value="COD" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment reference:Reference to a specific payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAutoSettlement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement:May transaction be settled automatically?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxInvoiceSalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax invoice id - sales:Unique key for invoice, allocated when invoice updating.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankThirdPartyAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Third party bank account:Bank account ID of the third-party bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Description255">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Brief description of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifEndpointId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Endpoint ID:Unique endpoint ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendPaymProcessingDataValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Customer vendor payment processing data value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_UTCTimestamp">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UTC timestamp:The UTC timestamp.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_BankAccountHoldStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account status:Bank account status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ActiveForAllTransactions" />
      <xs:enumeration value="InactiveForNewTransactions" />
      <xs:enumeration value="InactiveForAllTransactions" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankClearingCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Clearing:Control code of bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCompanyStatementName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company statement name:Your company name as you want it to appear on your bank statement.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="16" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDestinationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Destination name:The name of the ACH or receiving point of an EFT transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="23" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankInterbankClearingCode_BE">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interbank clearing code:Interbank clearing code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Urgent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankMultiCurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">More currencies:Allow posting currency other than account currency?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankSortCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort code:Sort code to be used with BACS.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankSuffix">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Suffix:Suffix of the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankTransferCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Drawer:Code of drawer. The code is given by the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyPaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company ID:Bank or postal giro identification of the paying company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDebitDirectId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Debit Direct ID:Customer number of the company for debit direct.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDiscCreditMaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discounting maximum:The maximum credit limit to use when discounting bills. The amount is specified in default currency (0 = no maximum).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDiscNoticeDelayDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Days:Time limit, in days, for feedback from the bank on payments.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDivisionPaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Division:Bank's or postal giro's division identification of the paying company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FeeContractAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fee ESR account number:ESR account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IncludeBankBarCode_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank bar code:Account included in the bank bar code?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankPrenote">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank prenotes:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustNsfFeeMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges group:Misc. charges group that will be used when NSF payment transactions are created in the Collections form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustNsfJournalName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">NSF payment journal:Journal that will be used when NSF payment transactions are created in the Collections form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankOverDraftLimit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit limit:Credit limit that the bank offers</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrenoteResponseDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prenote response days:Day of year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrintGiro_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Giro:Print the account on the giro slip?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmAssistantName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name of the assistant for this person.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmAssistantPhone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phone number:Telephone number of the assistant for this person.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBillingInformation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Billing information:Billing information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="150" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCharacterId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Character:The character type of the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name of prospect:Name of active prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmComputerNetworkName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Computer network name:The name of the contact's computer network</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account:The prospect's account number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactPersonParentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manager:Contact's manager</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDecisionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Decision:The role of the contact in the decision making process</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDepartment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Department:The contact's department</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactDirectMail">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct mail:A selected check box indicates that the contact can receive mail directly</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactGreeting1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Complimentary close 1:The closing to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactGreeting2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Complimentary close 2:The alternate closing to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactIntro1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Salutation 1:The salutation to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactIntro2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Salutation 2:The alternate salutation to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmFunctionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Function:The contact's job function</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmGovernmentIDNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Government ID:The government identification number for the selected contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmImported">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Imported:Indicates that the prospect has been imported</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SmmContactPersonInactive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inactive:Indicates whether the contact is still active with the company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_smmDateTimeLastEdit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Time last modified in Microsoft Dynamics.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_smmLoyaltyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty:The loyalty level of the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CrmWorkerRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker:The name of the worker</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactPersonDetailsMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Notes:More information about the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmMileage">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mileage:Associated mileage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="199" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOfficeLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Office location:The location of the contact's office</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOrganizationalIDNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organizational ID:The organizational identification number for the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOutlookCategories">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Microsoft Outlook categories:The Microsoft Outlook categories that the contact is included in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmProfession">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profession:The contact's profession</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmSensitivity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sensitivity:Sensitivity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Personal" />
      <xs:enumeration value="Privat" />
      <xs:enumeration value="Confidential" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSpouse">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Spouse:Name of spouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmTMAvailableFrom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Available from:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmTMAvailableTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Available to:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PersonTitle">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Title:Job title</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VendRequestRoleType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User role:User role</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Admin" />
      <xs:enumeration value="Clerk" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactVIP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VIP:A selected check box indicates that the contact is a VIP</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WebRequestWebAccess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Request internet access:Select to request internet access</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDimensionGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of product dimension group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_fieldId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Field Id:ID for the field</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDimPriceDiscSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">For sales prices:Include the dimension when searching sales prices?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDimPriceDiscPurch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">For purchase prices:Include the dimension when searching purchase prices?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PackingSlipId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing slip:Identification of the packing slip.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Identification of the order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierTrackingNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tracking number:Tracking number returned from the carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSRouteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route:Picking route or pallet transport.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingLineQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity of the item in inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSShipmentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment:Shipment ID in the warehouse system.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lot ID:Identification of the item lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Order number, project number, production number, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSShipmentStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Registered" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Reserved" />
      <xs:enumeration value="DEL_PickActivated" />
      <xs:enumeration value="DEL_PalletActivated" />
      <xs:enumeration value="Activated" />
      <xs:enumeration value="Picked" />
      <xs:enumeration value="Staged" />
      <xs:enumeration value="Loaded" />
      <xs:enumeration value="Shipped" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_WMSShipmentDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dispatch date:Date when the shipment is dispatched.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_TaxValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Percentage or amount per unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBaseMin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum limit:Lower limit for sales tax calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBaseMax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Upper limit:Upper limit for sales tax calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxValidDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Name of sales tax group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxReverseOnCashDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reverse sales tax on cash discount:If available cash discount is used, then the previously calculated sales tax of the cash discount amount is reversed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxPrintDetail">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print:Print</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="TaxCode" />
      <xs:enumeration value="TaxGroup" />
      <xs:enumeration value="NoDetail" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxGroupRounding">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding by:Rounding by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="TaxCode" />
      <xs:enumeration value="TaxCodeSet" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxGroupSetup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group setup:Sales tax group setup</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="TaxCode" />
      <xs:enumeration value="TaxJurisdiction" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxExemptTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exempt:Specifies that sales tax is not to be calculated.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxUseTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use tax:Process sales tax as use tax when purchasing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxExemptCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exempt code:Code for justification of sales tax exemption.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_EcoResCategoryCommodityCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_EcoResCategoryCommodityCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryCommodityCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Code:Category commodity code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_EcoResCategoryDescription_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_EcoResCategoryDescription tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Category description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_EcoResCategoryName_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_EcoResCategoryName tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LanguageIdAll_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LanguageIdAll tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Additional description of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResColorName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Color:Descriptive name of color</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResConfigurationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration:Descriptive name of configuration</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResSizeName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Size:Descriptive name of size</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EcoResProductType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product type:Product type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="Service" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Descriptive name of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResStorageDimensionGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the storage dimension group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResTrackingDimensionGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the tracking dimension group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product number:Unique identification of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EcoResVariantConfigurationTechnologyType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Variant configuration technology:Variant configuration technology</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PredefinedVariants" />
      <xs:enumeration value="DimensionBased" />
      <xs:enumeration value="RuleBased" />
      <xs:enumeration value="ConstraintBased" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResModelingAutoCreateVariants">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Generate variants automatically:Automatically create variants when a new product dimension is entered for a product master</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResModelingIdentical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allow identical configurations:Allow identical configurations with different configuration specification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSMeterId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Meter ID:The meter identification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_DateTimeExecuted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Processing date:Date and time.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_EMSQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:The amount of the substance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Percent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Percent:Portion of the amount in hundredths</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSProcessId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Process ID:The identification of the selected source process record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSFlowId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flow ID:The number sequence identification for the substance flow.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EMSFlowOriginType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flow origin:Flow origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Meter" />
      <xs:enumeration value="Verification" />
      <xs:enumeration value="InvoiceRegister" />
      <xs:enumeration value="PurchaseOrder" />
      <xs:enumeration value="InventorJournal" />
      <xs:enumeration value="Manual" />
      <xs:enumeration value="Calculated" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_FromDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From date/time:From</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_EMSScopeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scope:Scope</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Primary" />
      <xs:enumeration value="Secondary" />
      <xs:enumeration value="Tertiary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSSubstanceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Substance:The substance used in the process.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_ToDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To date/time:To</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_EUSalesListReportingPeriodType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Declaration type:Declaration type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSelected" />
      <xs:enumeration value="Monthly" />
      <xs:enumeration value="BiMonthly" />
      <xs:enumeration value="Quarterly" />
      <xs:enumeration value="Yearly" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Line">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line:Line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendAC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account number:Number identifying the account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EUSalesListTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exempt ID:The Country/region code that is used in EU sales list as part of the tax exempt number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ModuleSalesPurch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Module type:Module type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EUSalesListReportingAmountType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount type:Amount type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="Service" />
      <xs:enumeration value="Triangular" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyIdNAF">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">French NAF:NAF code of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymInstructionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment instruction code:Code which is used in the SWIFT message for foreign banks.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMAbsenceRequestHours">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hours:Number of work hours.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMAbsenceCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Absence code:Identification of absence code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_HRMAbsenceRequestStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Transferred" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMAbsenceTransText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction text:Text describing the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmWorkerRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker:The name of the worker</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSCarrierName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier name:Name of carrier.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSFreightedBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freighted by:Freighted by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Carrier" />
      <xs:enumeration value="Shipper" />
      <xs:enumeration value="Recipient" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPackageAppearance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Package appearance:What is the item packed in?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FreightSlipNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag number:Number on call tag.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesFreightSlipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag type:Freight company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesInternalPackingSlipId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Version:Packing slip version</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatDispatchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment batch:Shipment batch number in Intrastat.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ParmId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Parameter ID:Number of the reporting (one total update).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RefNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order/project:Sales order/project</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="SalesOrder" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Interest" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnItemNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RMA number:Unique number issued to authorize the return.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnPackingSlipId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer packing slip number:Identification of the return order packing slip.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Volume">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Volume:Volume of the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_AddressCountryRegionId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_AddressCountryRegionId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lot ID:Identification of the item lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesIdOrig">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Order that the line is generated from</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnActionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return action:What should happen with the returned items?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatLineAmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistics amount:Transaction amount in default currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeStockedProduct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stocked:Track in inventory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventReportDimHistoryLogType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="PurchPurchaseOrder" />
      <xs:enumeration value="SalesQuotation" />
      <xs:enumeration value="ProdJournalBOM" />
      <xs:enumeration value="ProdJournalProd" />
      <xs:enumeration value="SalesPackingSlip" />
      <xs:enumeration value="SalesInvoice" />
      <xs:enumeration value="DEL_InventPickingList" />
      <xs:enumeration value="SalesConfirm" />
      <xs:enumeration value="PurchReceiptList" />
      <xs:enumeration value="PurchPackingSlip" />
      <xs:enumeration value="PurchInvoice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSerialText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Describe the serial number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSerialProdDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manufacturing date:Manufacturing date of the current serial number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDTagId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tag ID:RFID tag id.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="24" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPalletTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet type:Description of the bearer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSHeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Height:Height of the location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSBillOfLadingId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bill of lading:Bill of lading number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="17" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSFreightChargeTerms">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight charge terms:Freight charge terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Prepaid" />
      <xs:enumeration value="Collect" />
      <xs:enumeration value="ThirdParty" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSFreightCounted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight counted:Freight counted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ByShipper" />
      <xs:enumeration value="ByDriverPallets" />
      <xs:enumeration value="ByDriverPieces" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSSealId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Seal numbers:Identification of seals used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSTrailerId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trailer number:Identification of the trailer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSTrailerLoaded">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trailer loaded:Trailer loaded</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ByShipper" />
      <xs:enumeration value="ByDriver" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSReferenceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order type:Order type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="TransferOrderShipment" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSBOLAdditionalInfo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Additional shipper info:Additional information about bill of lading.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSHazardousMaterial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hazardous material:Is the item classified as hazardous material for transport?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSPackageType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit name:Unit name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Carton" />
      <xs:enumeration value="Pallet" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FormLetterTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Form note:Form text to be written in the requested form.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FormTextType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LedgerCompanyFrontpage" />
      <xs:enumeration value="LedgerAuditorReport" />
      <xs:enumeration value="LedgerStatement" />
      <xs:enumeration value="LedgerAccountingPrinciples" />
      <xs:enumeration value="LedgerNotes" />
      <xs:enumeration value="CustInvoice" />
      <xs:enumeration value="CustCreditNote" />
      <xs:enumeration value="CustACStatement" />
      <xs:enumeration value="CustACStatementExt" />
      <xs:enumeration value="CustInterestNote" />
      <xs:enumeration value="CustCollectionLetter1" />
      <xs:enumeration value="CustCollectionLetter2" />
      <xs:enumeration value="CustCollectionLetter3" />
      <xs:enumeration value="CustCollectionLetter4" />
      <xs:enumeration value="CustCollectionLetter5" />
      <xs:enumeration value="Vendor" />
      <xs:enumeration value="VendACStatement" />
      <xs:enumeration value="SalesQuotation" />
      <xs:enumeration value="SalesConfirmation" />
      <xs:enumeration value="SalesPackingSlip" />
      <xs:enumeration value="SalesInvoice" />
      <xs:enumeration value="SalesCreditNote" />
      <xs:enumeration value="PurchPurchaseOrder" />
      <xs:enumeration value="Invent" />
      <xs:enumeration value="ProjectQuotation" />
      <xs:enumeration value="ProjectConfirmation" />
      <xs:enumeration value="ProjectPackingSlip" />
      <xs:enumeration value="ProjectInvoice" />
      <xs:enumeration value="ProjectAcontoInvoice" />
      <xs:enumeration value="ProjectCreditNote" />
      <xs:enumeration value="PayRoll" />
      <xs:enumeration value="HRMCourseConfirmation" />
      <xs:enumeration value="HRMCourse" />
      <xs:enumeration value="ReturnSendDocument" />
      <xs:enumeration value="ReturnAcknowledgement" />
      <xs:enumeration value="PurchRFQ" />
      <xs:enumeration value="PurchRFQAccept" />
      <xs:enumeration value="PurchRFQReject" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalDeletePostedLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delete lines after posting:Delete journal lines when posting is completed?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Description of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalDetailSummary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Detail level:Specify summation level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Detail" />
      <xs:enumeration value="Summary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDimFixed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mandatory dimensions:Dimensions selected by the user.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventJournalIdOrignal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original journal No.:Journal number that the lines are transferred from.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventJournalNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Movement" />
      <xs:enumeration value="LossProfit" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="BOM" />
      <xs:enumeration value="Count" />
      <xs:enumeration value="project" />
      <xs:enumeration value="TagCounting" />
      <xs:enumeration value="Asset" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalPostedUserId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted by:User who posted the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalSystemBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Locked by system:Is journal locked by system?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventJournalVoucherChange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">New voucher by:New voucher by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DateChange" />
      <xs:enumeration value="DateItemChange" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_JournalVoucherDraw">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Selection by:Selection by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Entering" />
      <xs:enumeration value="Post" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PeriodName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Period name:Specify a name for the period, for example, January, Period 01, Close-internal, or Close-external</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_NumberSequenceTable">
    <xs:sequence>
      <xs:element minOccurs="1" name="NumberSequence" type="tns:AxdExtType_NumberSequenceCode" />
      <xs:element minOccurs="1" name="NumberSequenceScope_DataArea" type="tns:AxdExtType_selectableDataArea" />
      <xs:element minOccurs="1" name="NumberSequenceScope_LegalEntity_DataArea" type="tns:AxdExtType_dataAreaId" />
      <xs:element minOccurs="1" name="NumberSequenceScope_FiscalCalendarPeriod_Name" type="tns:AxdExtType_PeriodName" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_CostAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost amount:Cost value for quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges on cost:Fixed misc. charges on cost price, which are independent of quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemCostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost price:Item cost price used for posting</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyCounted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity counted:Quantity counted when counting the on-hand inventory</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyOnHand">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">On-hand:Physical on-hand inventory of the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity to be posted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalTransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date applying to the journal line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier company:Company name of shipping carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageTxtText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Specify text in current language.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageTxtRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageTxtRefTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference table ID:Table the transaction refers to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForecastItemAllocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item allocation key:Identification of the item allocation key.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CountGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Counting group:Identification of counting group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSMaxStorageQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Max. storage capacity:Maximum quantity at the picking location; used for automatic refill</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingLocationRefillMin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Required minimum:Minimum on-hand level before generating a refill</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventInventLocationNo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use empty pallet location:Use empty pallet location</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InventLocation" />
      <xs:enumeration value="No" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventInventLocationNoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use consolidated picking method:Use consolidated picking method</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InventLocation" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLocationIdDefaultIssue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default issue location:Location proposed for inventory issues of sales orders, production lines, etc. when nothing else is specified</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLocationIdDefaultReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default receipt location:Location proposed for inventory receipts of purchase orders, productions, etc. when nothing else is specified</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking location:Location from where the item is handled (picked)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSStoreZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store zone:Zone (area) in the inventory.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSEmptyPalletLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Empty pallet location:Location where empty pallets automatically are placed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdQuarantine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quarantine warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdReqMain">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdTransit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit warehouse:Warehouse used to identify and handle items in transit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse level:Level in relation to the main warehouse where the warehouse is located.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventLocationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Quarantine" />
      <xs:enumeration value="Transit" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqCovManual">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manual:Are all items in the warehouse coverage planned manually (that is no planned orders, transactions and on-hand)?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TimeHour24">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Description of the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calendar:Work-days calendar. Used to calculate order date, requirement date, and preferred delivery date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqRefill">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Refilling:Refill as per requirement via planned transfer from the main warehouse?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventModelGroupNoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use consolidated picking method:Use consolidated picking method</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ModelGroup" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSAisleNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include aisle:Aisle is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLevelFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Format for the part of the location name given by the shelf.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLevelNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include shelf:Shelf is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPositionFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Format for the part of the location name given by the bin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPositionNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include bin:Bin is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSRackFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Format for the part of the location name given by the rack</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSRackNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include rack:Rack is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsIsPrimary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Primary:Location is primary.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LogisticsLocationEntityType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Site" />
      <xs:enumeration value="Warehouse" />
      <xs:enumeration value="ApplicationBasket" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyArrived">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrived:Quantity arrived in the item reception</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyAvailOrdered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total available:Physical quantity available including ordered minus ordered reservation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyAvailPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Available physical:Physical quantity available</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSumClosed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closed:Is the on-hand inventory closed, that is with no quantity and value?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyDeducted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deducted:Quantity that has been physically deducted, but not posted.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateExpected">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expected date:Date of expected movement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DatePhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical date:Date of physical transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyOnOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">On order:Quantity on order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyOrdered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ordered:Quantity ordered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyPhysicalOnhand">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical inventory:Physical quantity available from the inventory</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Actual cost:Inventory value for the physically updated quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyPicked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picked:Quantity that has been picked</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted quantity:Financially entered quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Financial cost amount:Inventory value for the financially updated quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyQuotationIssue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation issue:Quantity in quotation for issue</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyQuotationReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation receipt:Quantity of receipts in quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyReceived">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Received:Physical quantity received, but not posted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyRegistered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registered:Quantity that has been registered with the item reception</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyReservOrdered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ordered reserved:Quantity reserved on quantity ordered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyReservPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical reserved:Quantity reserved of the physical quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountAdjusted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Adjustment:Adjustment of cost amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountSettled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount settled:Cost value that has been financially settled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountStd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed receipt price value:Standard cost price of the transaction, converted to cost value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateFinancial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Financial date:Date of financial transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateInvent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory date:Date on which items have been registered or picked</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status date:Date attached to transaction status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingRouteID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking route:Identification of picking route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjAdjustRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Adjustment number:Project adjustment reference.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtySettled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settled quantity:Quantity that has been settled financially.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountMSTPhysicalRevenue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical revenue:Physical revenue that has been posted in connection with the packing slip update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_StatusIssue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issue status:Issue status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sold" />
      <xs:enumeration value="Deducted" />
      <xs:enumeration value="Picked" />
      <xs:enumeration value="ReservPhysical" />
      <xs:enumeration value="ReservOrdered" />
      <xs:enumeration value="OnOrder" />
      <xs:enumeration value="QuotationIssue" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_StatusReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt status:Receipt status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Purchased" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="Arrived" />
      <xs:enumeration value="Ordered" />
      <xs:enumeration value="QuotationReceipt" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TimeExpected">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Estimated time:Scheduled time of receipt or issue of the item requirement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransChildRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory number:Inventory order number processing the transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransChildType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory reference:Inventory reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="WMSOrder" />
      <xs:enumeration value="ProdJournalBOM" />
      <xs:enumeration value="ProdJournalProd" />
      <xs:enumeration value="DEL_InventJournalPickingList" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransOpen">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Open:Open</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
      <xs:enumeration value="Quotation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VoucherPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical voucher:Voucher number attached to the physical update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfigIdAlternative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alternative configuration:Alternative configuration is used in order entry.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdAlternative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alternative item number:Alternative inventory number is used for order entry.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemAutoReportFinished">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto-report as finished:Activate automatic report as finished in connection with transactions for the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventNumGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number group:Identification of number group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMCalcGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculation group:Identification of the calculation group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBOMLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Level:Calculated BOM level on latest requirement calculation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBOMManualReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrival:Manually enter material profit for this item for a production?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:BOM consumption unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissItemGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commission item group:Identification of commission item group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostGroupIdDirectMaterial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost group:Identification of the cost group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemCostModel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latest cost price:Update the item automatically with latest cost price?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EPCManager">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EPC manager:The EPC manager of the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventFiscalLIFOAvoidCalc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Avoid LIFO calculation:Exclude items from fiscal LIFO calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventFiscalLIFONormalValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Normal value:Normal value for the group or item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventFiscalLIFONormalValueCalc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Normal value calculation:Normal value calculation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Never" />
      <xs:enumeration value="Manual" />
      <xs:enumeration value="Automatic" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDepth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Depth:Standard depth</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventHeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Height:Standard height</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventWidth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Width:Standard width</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatConvert">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Additional units:Quantity of additional units per inventory unit, used for Intrastat.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventFiscalLIFOGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal LIFO reporting group:Identification of fiscal LIFO reporting group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBuyerGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Buyer group:Identification of the buyer group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemDimCostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use cost price by variant:Activate, use, and maintain cost prices for product variants.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPriceToleranceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item price tolerance group:Identification of item price tolerance group for accounts payable invoice matching</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RFIDItemTaggingLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item tagging level:Item tagging level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ItemLevel" />
      <xs:enumeration value="CaseLevel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ItemType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item type:Item type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="DEL_BOM" />
      <xs:enumeration value="Service" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchMatchingPolicyWithNotSetOption">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line matching policy:Line matching policy</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSet" />
      <xs:enumeration value="ThreeWayMatch" />
      <xs:enumeration value="TwoWayMatch" />
      <xs:enumeration value="NoMatch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemNameAlias">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Find fast name applying to the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemNetWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net weight:Net weight of inventory item for one inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPackagingGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing group:Identification of the packing group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAAutostart">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autostart configuration:Autostart of configuration dialog when entering a modeling enabled item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAHideApproval">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hide approval dialog:Hide approval dialog after acknowledgement of configuration details</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAHideDialog">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hide dialog box:Hide dialog for automatic configuration based on default values</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAInventItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product model group:Identification of the item product model group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAItemAutoGenerated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autogenerated:Generated item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAMandatoryConfig">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mandatory configuration:Check item lines for complete configuration details</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPhantom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phantom:Propose item as phantom item in bills of materials?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPrimaryVendId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor:Primary vendor for planned purchase order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdFlushingPrincipItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flushing principle:Flushing principle</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Start" />
      <xs:enumeration value="Finish" />
      <xs:enumeration value="Manual" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemProdGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Production group:Production group proposed when creating productions for the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemProdPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Production pool:Pool proposed when creating productions for the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PropertyIdItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Property:Necessary property when producing the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPurchModel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latest purchase price:Update the item automatically with latest purchase price?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Coverage group:Identification of the coverage group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemSalesContributionRatio">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contribution ratio:Contribution ratio to be used when calculating sales price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemSalesModel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales price model:Calculate sales price of the item by which model?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Contributionratio" />
      <xs:enumeration value="PercentMarkup" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemSalesPercentMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges pct.:Misc. charges percentage to be used when calculating sales price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesPriceModelBasic">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Base price:Base price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PurchPrice" />
      <xs:enumeration value="CostPrice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSSortCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort code:Sort order of locations.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfigIdStandard">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default configuration:Configuration proposed for item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatMarkupPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges pct.:Portion of the amount in hundredths</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemTaraWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tare weight:The tare weight of the item for an inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxPackagingQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing quantity:Quantity of which packing duty is to be calculated. The quantity is stated per inventory unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemVolume">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Volume:Volume in cubic meters of an inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemUseAlternative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use alternative:When should alternative item number be used?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Never" />
      <xs:enumeration value="InventWhen0" />
      <xs:enumeration value="Always" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSArrivalHandlingTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrival handling time:Time used to arrival update per inventory standard order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceAllocateMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Incl. in unit price:Include the price misc. charges in the unit price of the various units specified in the Price quantity field?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany stopped:Intercompany is stopped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount group:Unique identification of line discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPriceMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price misc. charges:Fixed misc. charges on price, applied once for each invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Misc. charges group:Identification of misc. charges group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ModuleInventPurchSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Module type:Module type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Sales" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventMultiLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline disc. group:Multiline discount per price unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OverDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overdelivery:Accepted overdelivery in percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date of price:Date attached to the price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price quantity:Quantity that price and misc. charges are applicable to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSuppItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Supplementary item group:Specify the supplementary item group of the item in the module</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnderDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Underdelivery:Accepted underdelivery in percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPApplyDemandTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP delayed demand offset time:Time period in days, going forward from today, when delayed demand orders are considered as issues. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPApplySupplyTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP delayed supply offset time:Time period in days, going forward from today, when delayed supply orders are considered as receipts. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPBackwardDemandTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP backward demand time fence:Time period in days, going backward from today, for considering delayed demand orders in ATP calculation. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPBackwardSupplyTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP backward supply time fence:Time period in days, going backward from today, for considering delayed supply orders in ATP calculation. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPInclPlannedOrders">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP incl. planned orders:If selected, planned orders are included in the ATP calculation. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP time fence:Time period in days, going forward from today, for calculating ATP. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTimeSalesDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales lead time:Default lead time or lead time in number of days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemStopped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stopped:Is the item on hold for transactions?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CalendarDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Working days:Are days specified in the working days calendar?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTimeInventDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory lead time:Default lead time or lead time in number of days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventModelGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item model group:Identification of item model group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_ActivationDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activation date:Start DateTime help text</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_WMSAutoDecreaseQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Automatically decrease quantity:Increasing the quantity on one line automatically results in the decrease of another line within the same picking route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_WMSCustomer_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_WMSCustomer tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSCustomer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer:Customer reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSDeliveryName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSDlvDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date:Date on which items must be shipped from us.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_DlvTermId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_DlvTermId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Unique identification of delivery terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_EndDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date/time:End Datetime help text</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_WMSExpeditionTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Handling time:Time used for handling.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSExpeditionStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Handling status:Handling status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="DEL_Reserved" />
      <xs:enumeration value="Activated" />
      <xs:enumeration value="Started" />
      <xs:enumeration value="Picked" />
      <xs:enumeration value="Staged" />
      <xs:enumeration value="Loaded" />
      <xs:enumeration value="Complete" />
      <xs:enumeration value="Cancelled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSHandlingType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of handling:Mode of handling</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Online" />
      <xs:enumeration value="Document" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSOptimizedPicking">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Optimized picking:The picking route only contains lines that can be picked through guided picking. There are no lines with service items and no items without location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking area:Picking area ID in the location system.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Priority:Priority of the picking route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSShipmentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment type:Shipment type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ConsolidatedPick" />
      <xs:enumeration value="OrderPick" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_StartDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date/time:Start DateTime help text</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_InventTransType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="InventTransaction" />
      <xs:enumeration value="InventLossProfit" />
      <xs:enumeration value="InventTransfer" />
      <xs:enumeration value="SummedUp" />
      <xs:enumeration value="ProdLine" />
      <xs:enumeration value="BOMLine" />
      <xs:enumeration value="BOMMain" />
      <xs:enumeration value="WMSOrder" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="InventCounting" />
      <xs:enumeration value="WMSTransport" />
      <xs:enumeration value="QuarantineOrder" />
      <xs:enumeration value="Asset" />
      <xs:enumeration value="TransferOrderShip" />
      <xs:enumeration value="TransferOrderReceive" />
      <xs:enumeration value="TransferOrderScrap" />
      <xs:enumeration value="SalesQuotation" />
      <xs:enumeration value="QualityOrder" />
      <xs:enumeration value="Blocking" />
      <xs:enumeration value="KanbanJobProcess" />
      <xs:enumeration value="KanbanJobTransferReceipt" />
      <xs:enumeration value="KanbanJobPickingList" />
      <xs:enumeration value="KanbanJobWIP" />
      <xs:enumeration value="KanbanEmptied" />
      <xs:enumeration value="KanbanJobTransferIssue" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSFullPallet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet load:Handle line as pallet load?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSIsReserved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reserved:Is related inventory transactions reserved physical or reserved ordered on picking location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSOrderId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory order:Identification of the inventory order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSOrderType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Output" />
      <xs:enumeration value="NotUsed" />
      <xs:enumeration value="Transport" />
      <xs:enumeration value="OrderPick" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickPalletId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking pallet:Unique ID for the pallet (Serial Shipping Container Code)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSShipmentIdOriginal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original shipment:The shipment that the line was originally related to before it was moved to the new shipment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdReturn">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return lot ID:Lot ID for items being returned</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receive lot ID:Identification of the receive lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>